/**
 * 
 */
package com.palmwindActivity.nav.gallery;

import android.content.Intent;
import android.os.Bundle;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.Gallery;

import com.palmwindActivity.R;
import com.palmwindActivity.app.AbstractActivity;

/**
 * @author albertma
 *
 */
public class GalleryActivity extends AbstractActivity {

	public void onCreate(Bundle onSaveBundle)
	{
		super.onCreate(onSaveBundle);
		this.setContentView(R.layout.gallerylayout);
		Gallery gallery = (Gallery)findViewById(R.id.Gallery);
		
		GalleryAdapter galleryAdapter = new GalleryAdapter(this, null);
		gallery.setAdapter(galleryAdapter);
		Intent intent = this.getIntent();
		int viewId = intent.getIntExtra("ViewId", 0);
		gallery.setSelection(viewId);
		
	}
	/* (non-Javadoc)
	 * @see com.palmwindActivity.app.AbstractActivity#onStartDelegate()
	 */
	@Override
	protected void onStartDelegate() {
		
	}

}
